package by.amakarevich.services;

import org.springframework.transaction.annotation.Transactional;

import by.amakarevich.datamodel.Wool;
import by.amakarevich.datamodel.Product;

public interface WoolService {

	@Transactional
	void createNewWool(Wool wool, Product product);
	
	@Transactional
	Wool get(Long id);
	
	@Transactional
	void updateWool(Wool wool);
	
	@Transactional
	void removeWool(Long id);
	
	@Transactional
    void deleteAll();
}
